package com.shj.em.biz.purchase.mapper;

import com.shj.em.biz.purchase.dto.SearchPurchaseDTO;
import com.shj.em.biz.purchase.entity.Purchase;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.plugins.Page;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 采购表 Mapper 接口
 * </p>
 *
 * @author Shen Huang Jian
 * @since 2018-11-04
 */
@Mapper
public interface PurchaseMapper extends BaseMapper<Purchase> {
    /**
     * 分页查询
     * @param page 分页信息
     * @return
     */
    List<Purchase> queryPurchasePage(Page<Purchase> page, SearchPurchaseDTO searchPurchaseDTO);
}
